package com.qiku.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * category
 * @author 
 */
@Data
@TableName("category")
public class Category implements Serializable {
    @TableId
    private Long id;

    private String name;

    /**
     * 父分类id  没有父类 默认-1
     */
    private Long pid;

    /**
     * 描述
     */
    private String description;

    /**
     * 0 正常   1 禁用
     */
    private String status;

    private String createBy;

    private String updateBy;

    private Date createTime;

    private Date updateTime;

    /**
     * 0  代表未删除
     */
    private Integer delFlag;

    private static final long serialVersionUID = 1L;
}